<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<f:view>
  <afh:html>
    <afh:head title="ContractOverzicht">
      <meta http-equiv="Content-Type"
            content="text/html; charset=windows-1252"/>
      <link type="text/css" rel="stylesheet" href="css/jdeveloper.css"/>
    </afh:head>
    <afh:body>
      <af:messages/>
      <h:form>
        <af:panelGroup>
          <af:panelHeader text="Contract Beheer">
            <af:table id="masterDetail1"
                      rows="#{bindings.ContractBeheer1.rangeSize}"
                      first="#{bindings.ContractBeheer1.rangeStart}"
                      emptyText="#{bindings.ContractBeheer1.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
                      var="row"
                      value="#{bindings.ContractBeheer1.collectionModel}"
                      selectionState="#{bindings.ContractBeheer1.collectionModel.selectedRow}"
                      selectionListener="#{bindings.ContractBeheer1.collectionModel.makeCurrent}">
              <f:facet name="selection">
                <af:tableSelectOne autoSubmit="true" text="Select and ">
                  <af:commandButton text="View" action="ViewContract"/>
                </af:tableSelectOne>
              </f:facet>
              <af:column headerText="#{bindings.ContractBeheer1.labels.contractid}"
                         sortable="false" sortProperty="contractid">
                <af:outputText value="#{row.contractid}"/>
              </af:column>
              <af:column headerText="Uitzendkracht Naam" sortable="false"
                         sortProperty="Naam1">
                <af:outputText value="#{row.Naam1}"/>
              </af:column>
              <af:column headerText="Uitzendkracht Adres" sortable="false"
                         sortProperty="Adres">
                <af:outputText value="#{row.Adres}"/>
              </af:column>
              <af:column headerText="Uitzendkracht Woonplaats" sortable="false"
                         sortProperty="Woonplaats">
                <af:outputText value="#{row.Woonplaats}"/>
              </af:column>
              <af:column headerText="Intercedent Naam" sortable="false"
                         sortProperty="Naam">
                <af:outputText value="#{row.Naam}"/>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.Bedrijfsnaam}"
                         sortable="false" sortProperty="Bedrijfsnaam">
                <af:outputText value="#{row.Bedrijfsnaam}"/>
              </af:column>
              <af:column headerText="Contact Persoon achternaam"
                         sortable="false" sortProperty="Achternaam">
                <af:outputText value="#{row.Achternaam}"/>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.intercedentid}"
                         sortable="false" sortProperty="intercedentid">
                <af:outputText value="#{row.intercedentid}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.ContractBeheer1.formats.intercedentid}"/>
                </af:outputText>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.baanid}"
                         sortable="false" sortProperty="baanid">
                <af:outputText value="#{row.baanid}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.ContractBeheer1.formats.baanid}"/>
                </af:outputText>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.uitzendkrachtid}"
                         sortable="false" sortProperty="uitzendkrachtid">
                <af:outputText value="#{row.uitzendkrachtid}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.ContractBeheer1.formats.uitzendkrachtid}"/>
                </af:outputText>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.Uren}"
                         sortable="false" sortProperty="Uren">
                <af:outputText value="#{row.Uren}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.ContractBeheer1.formats.Uren}"/>
                </af:outputText>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.Uurloon}"
                         sortable="false" sortProperty="Uurloon">
                <af:outputText value="#{row.Uurloon}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.ContractBeheer1.formats.Uurloon}"/>
                </af:outputText>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.Begindatum}"
                         sortable="false" sortProperty="Begindatum">
                <af:outputText value="#{row.Begindatum}">
                  <f:convertDateTime pattern="#{bindings.ContractBeheer1.formats.Begindatum}"/>
                </af:outputText>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.Einddatum}"
                         sortable="false" sortProperty="Einddatum">
                <af:outputText value="#{row.Einddatum}">
                  <f:convertDateTime pattern="#{bindings.ContractBeheer1.formats.Einddatum}"/>
                </af:outputText>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.Actief}"
                         sortable="false" sortProperty="Actief">
                <af:outputText value="#{row.Actief}"/>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.werkgeverid}"
                         sortable="false" sortProperty="werkgeverid">
                <af:outputText value="#{row.werkgeverid}"/>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.contactpersoonid}"
                         sortable="false" sortProperty="contactpersoonid">
                <af:outputText value="#{row.contactpersoonid}"/>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.intercedentid1}"
                         sortable="false" sortProperty="intercedentid1">
                <af:outputText value="#{row.intercedentid1}"/>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1.labels.uitzendkrachtid1}"
                         sortable="false" sortProperty="uitzendkrachtid1">
                <af:outputText value="#{row.uitzendkrachtid1}"/>
              </af:column>
            </af:table>
          </af:panelHeader>
          <af:panelHeader text="Contract Werkbriefjes">
            <af:table partialTriggers="masterDetail1"
                      rows="#{bindings.ContractBeheer1ContractWerkbriefjes1.rangeSize}"
                      first="#{bindings.ContractBeheer1ContractWerkbriefjes1.rangeStart}"
                      emptyText="#{bindings.ContractBeheer1ContractWerkbriefjes1.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
                      var="row"
                      value="#{bindings.ContractBeheer1ContractWerkbriefjes1.collectionModel}"
                      selectionState="#{bindings.ContractBeheer1ContractWerkbriefjes1.collectionModel.selectedRow}"
                      selectionListener="#{bindings.ContractBeheer1ContractWerkbriefjes1.collectionModel.makeCurrent}">
              <f:facet name="selection">
                <af:tableSelectOne text="Select and ">
                  <af:commandButton text="Edit" action="EditWerkbriefje"/>
                </af:tableSelectOne>
              </f:facet>
              <f:facet name="actions">
                <af:commandButton text="New" action="NewWerkbriefje"/>
              </f:facet>
              <af:column headerText="#{bindings.ContractBeheer1ContractWerkbriefjes1.labels.Weeknummer}"
                         sortable="false" sortProperty="Weeknummer">
                <af:outputText value="#{row.Weeknummer}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.ContractBeheer1ContractWerkbriefjes1.formats.Weeknummer}"/>
                </af:outputText>
              </af:column>
              <af:column headerText="#{bindings.ContractBeheer1ContractWerkbriefjes1.labels.Uren}"
                         sortable="false" sortProperty="Uren">
                <af:outputText value="#{row.Uren}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.ContractBeheer1ContractWerkbriefjes1.formats.Uren}"/>
                </af:outputText>
              </af:column>
            </af:table>
          </af:panelHeader>
        </af:panelGroup>
        <af:commandButton actionListener="#{bindings.Commit.execute}"
                          text="Commit" disabled="#{!bindings.Commit.enabled}"/>
        <af:commandButton actionListener="#{bindings.Rollback.execute}"
                          text="Rollback"
                          disabled="#{!bindings.Rollback.enabled}"
                          immediate="true">
          <af:resetActionListener/>
        </af:commandButton>
      </h:form>
    </afh:body>
  </afh:html>
</f:view>